define(function() {
    return ['$scope','$location', '$interval','$timeout', function($scope,$location,$interval,$timeout) {
		$scope.$emit("top-show",'true');//顶部显示
    	$scope.$emit('menuTypeLight','mine'); 	//控制底部menu高亮
    	$scope.$emit('bub-menu','true'); 	//隐藏底部menu
    	$scope.$emit('flag-tag','33');//显示底部文字
    	
    	
    	//点击回到首页
    	$scope.goHome = function(){
    		$scope.$emit("goNext","/");
    	}
    	
    	//点击我的推荐
    	$scope.myRecommend = function(){
    		$scope.$emit("goNext","/mineLs");
    	}
    	
    	//点击去案源库
    	$scope.goCaseLib = function(){
    		$scope.$emit("goNext","/caseSrcLib/1");
    	}
        $scope.$apply();
    }];
});